﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MesProject.WareHouse.Domain
{
    public class LabelPrintModel:BaseEntity
    {
        /// <summary>
        /// 标签打印主键
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "标签打印主键")]
        public long LPId { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        [SugarColumn(ColumnDescription = "来源")]
        public string Source { get; set; }

        /// <summary>
        /// 送货单号
        /// </summary>
        [SugarColumn(ColumnDescription = "送货单号")]
        public string DeliverNum { get; set; }

        /// <summary>
        /// 供应商编码
        /// </summary>
        [SugarColumn(ColumnDescription = "供应商编码")]
        public string SupplierId { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        [SugarColumn(ColumnDescription = "供应商名称")]
        public string SupplierName { get; set; }

        /// <summary>
        /// 外部来料标签码
        /// </summary>
        [SugarColumn(ColumnDescription = "外部来料标签码")]
        public string TagBarCode { get; set; }

        /// <summary>
        /// 物料
        /// </summary>
        [SugarColumn(ColumnDescription = "物料")]
        public string Material { get; set; }


        /// <summary>
        /// 批次号
        /// </summary>
        [SugarColumn(ColumnDescription = "批次号", IsNullable = true)]
        public string? Batchcode { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        [SugarColumn(ColumnDescription = "生产日期", IsNullable = true)]
        public string? ManuDate { get; set; }

        /// <summary>
        /// 失效日期
        /// </summary>
        [SugarColumn(ColumnDescription = "失效日期", IsNullable = true)]
        public string? Expiration { get; set; }

        /// <summary>
        /// 打印数量
        /// </summary>
        [SugarColumn(ColumnDescription = "打印数量")]
        public int PrintNum { get; set; }
    }
}
